WP_Defender\Component\Blacklist_Lockout B

Total Complexity 83
Dependencies 9
Dependents 14
Total lines 487
Lines of code 293
Logical lines of code 183
Comment lines 126
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
is_geodb_downloaded()
C
36 23 78
validate_geodb_file()
A
49 9 29
is_country_blacklist()
A
52 8 26
is_country_whitelist()
S
54 7 23
fetch_latest_ips()
S
53 6 24
verify_import_file()
S
52 6 23
is_ip_whitelisted()
S
58 6 15
is_country_in_continent()
S
58 5 16
get_top_countries_blocked()
S
55 3 19
add_default_whitelisted_country()
S
66 3 8
are_ips_whitelisted()
S
67 3 8
get_default_ip_whitelisted()
S
63 2 10
is_blacklist()
S
75 1 4
is_blc_ip_whitelisted()
S
65 1 10